package com.usian;

import org.springframework.amqp.core.Message;
import org.springframework.amqp.core.MessageListener;

public class MessageConsumer1 implements MessageListener {
    @Override
    public void onMessage(Message message) {
        System.out.println("接听1 接收到的消息==》"+new String(message.getBody()));
    }
}
